<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../head.jsp"%>
			<noscript>
				<div class="alert alert-block span10">
					<h4 class="alert-heading">Warning!</h4>
					<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
				</div>
			</noscript>
			
<div id="content" class="span10"><!-- content starts -->
	<div class="row-fluid sortable">		
		<div class="box span12">
			<div class="box-header well" data-original-title>
				<h2><i class="icon-user"></i>我的店铺</h2>
				<div class="box-icon">
					<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
					<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
					<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
				</div>
			</div>
			<div class="box-content">
				<table class="table table-striped table-bordered bootstrap-datatable datatable">
					<tr>
					  	<th>商家名称</th>
					  	<th>商家地址</th>
					  	<th>申请时间</th>
					  	<th>审批状态</th>
					</tr>
				  	<tbody id="getInfo"></tbody>
				 	<c:forEach items="${myApplyList }" var="list">
					 	<tr>
							<td><a href="">${list.shopname }</a></td>
							<td>${list.shopaddress } ${user.name }</td>
							<td><fmt:formatDate value="${list.creatertime }" type="both" /></td>
							<td>
								<c:choose>
							       <c:when test="${list.status == 0}">审批不通过</c:when>
							       <c:when test="${list.status == 1}">审批通过</c:when>
							       <c:otherwise>审批中</c:otherwise>
								</c:choose>
							</td>
						</tr>
					</c:forEach>
				</table>
			</div><!-- box-content end -->
		</div><!-- box span12 end  -->
	</div><!-- row-fluid sortable end  -->
</div>
<%@ include file="../../bottom.jsp" %>
